#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import functools
int2 = functools.partial(int,base=2)

print('10010010=',int2('10010010'))
n1='10000000'
n2='10000001'
print('%s=%d'%(n1,int2(n1)))
print('%s=%d'%(n2,int2(n2)))
